package com.zy.cat.entity.dtk.resp;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonIgnore;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("大淘客商品各大榜单详细信息实体类")
public class GoodsRankListResp implements Serializable{
 

	/**
	 * 
	 */
	private static final long serialVersionUID = -286493278380054655L;

	@ApiModelProperty(value="榜单名次",example="0")
	private int ranking;
	
	@ApiModelProperty(value="商品ID",example="10010")
	private String goodsId;

	@ApiModelProperty(value="淘宝标题",example="西维里男士睡衣夏季韩版真丝短")
	private String title;

	@ApiModelProperty(value="大淘客短标题",example="夏季睡衣男冰丝短袖丝绸家居服套装")
	private String dtitle;

	@ApiModelProperty(value="商品原价",example="23.9")
	private double originalPrice;

	@ApiModelProperty(value="券后价",example="13.9")
	private double actualPrice;

	@ApiModelProperty(value="店铺类型，1-天猫，0-淘宝",example="0")
	private long shopType;

	@ApiModelProperty(value="30天销量",example="10")
	private long monthSales;

	@ApiModelProperty(value="2小时销量",example="10")
	private long twoHoursSales;

	@ApiModelProperty(value="当日销量",example="10")
	private long dailySales;


	@ApiModelProperty(value="商品推广文案",example="宽松舒适，难以磨损典，雅而优美，倍感丝滑，质感优越，庄严而心仪，简约设计，色调清新脱俗，适合各种场合")
	private String desc;

	@ApiModelProperty(value="优惠券金额",example="10")
	private double couponPrice;

	@ApiModelProperty(value="优惠券使用条件",example="38")
	private String couponConditions;

	@ApiModelProperty(value="商品主图链接",example="https://uland.")
	private String mainPic;

	@ApiModelProperty(value="商品详情图",example="https://detail.")
	private String imgs;

	@ApiModelProperty(value="返利信息",example="0")
	private long fcode;
	
    @JsonIgnore
	@ApiModelProperty(value="榜单类型(1.实时榜、 2.全天榜、 3.热推榜（热推榜一级类目[cat]无效）、4.复购榜)",example="0")
	private int rtype;
    
	@JsonIgnore
	@ApiModelProperty(value="商品在大淘客的分类id",example="1")
	private String cid;

	/**
	 * API查询专用
	 * @param cid
	 * @param utype
	 * @param rtype
	 */
	public GoodsRankListResp(String cid,int rtype) {
		super();
		this.cid = cid;
		this.rtype = rtype;
	}
}
